Answer:

Yes. The number that is stored in a numerical variable can be changed with a LET statement (and other statements).

Changing Contents of String Variables

Just as with numeric variables, string variables can be changed as the program runs. String variables can be changed:

Here is an example of the first two:

' Assignment with string variables
'
LET NAME$ = "Luke Skywalker"
PRINT NAME$
'
LET NAME$ = "Darth Vader"
PRINT NAME$
'
LET PERSON$ = NAME$
PRINT PERSON$
'
END
  1. The first LET statement creates NAME$ and puts "Luke Skywalker" into it.
  2. The PRINT statement prints that out.
  3. The next LET statement copies "Darth Vader" into NAME$, replacing what was there before.
  4. The next PRINT statement prints "Darth Vader"
  5. The last LET statement creates PERSON$. Then it gets characters from NAME$ and copies them into PERSON$.
  6. The last PRINT statement prints "Darth Vader" because that is what is in PERSON$

So the screen will look like:

Luke Skywalker
Darth Vader
Darth Vader

QUESTION 8:

Do you think you can change a string variable by copying a number into it, like:

LET NAME$ = 45.08